package com;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 *
 * @author alrz
 */
public class Window extends JFrame
{
    private Zone zone;
    private MenuBar navBar;
    
    public Window()
    {
        super("Tetravex");
        super.setSize(800, 500);
        super.setIconImage(Icons.LOGO.getImg());
        super.setLayout(new BorderLayout());
        this.zone = new Zone();
        this.navBar = new MenuBar(this);
        super.add(new Zone(),BorderLayout.CENTER);
        super.add(this.navBar,BorderLayout.NORTH);
        super.setLocationRelativeTo(null);
        super.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    }
}
